package test_20210531;

public class TestInnerInterface {

//    内部接口自动具备静态属性
    public interface Fly{
        void doFly();
    }

    public static void main(String[] args) {
        SuperM superM = new SuperM();
        superM.doFly();
    }
}

class SuperM implements TestInnerInterface.Fly{

    @Override
    public void doFly() {
        System.out.println("I'm Superman");
    }
}
